<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>push</title>
</head>
<body>
<script>
    var arr = ["王一", "王二", "王三"];

    var result1 = arr.push("王四"); // 末尾插入一个元素
    var result2 = arr.push("王五", "王六"); // 末尾插入多个元素

    console.log(result1);
    console.log(result2);
    console.log(JSON.stringify(arr));
</script>
</body>
</html>